package PhamVanHien_LTHDT05;

public class Models {
public boolean KTTuoi(Person p){
	if(p.getTuoi()>=19){
		if(p.getGT()==1){
			if(p.getTuoi()>=21)
				return true;
			return false;
		}
		else return true;
	}
	return false;
}

public boolean CheckTinhTrangHonNhan(Person p){
	if(p.getTTHN()==2 || p.getTTHN()==3){
		return true;
	}
	else
		return false;
}
}
